package com.hung.pro.iFlashCards.bean;

/**
 * Lexicon Definition
 * User: hung
 * Date: 2008/05/01
 * Time: 18:19:56
 * To change this template use File | Settings | File Templates.
 */
public class LexiconBean {

    /**
     * ID
     */
    private int id;

    /**
     * name
     */
    private String name;

    public LexiconBean(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public LexiconBean() {
    }

    public LexiconBean(String name) {
        this.name = name;
        id = -1;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return this.getName();
    }
    /******************** Column name ****************/
    /**
     * ID
     */
    public static final String COLUMN_ID = "ID";

    /**
     * NAME
     */
    public static final String COLUMN_NAME = "NAME";

}
